<extend name="Base/common"/>

<block name="style">
    <style type="text/css">
        .nav-pills{
            border-bottom: 1px solid #d3d1e5;
        }
        .nav-pills>li>a{
            border-radius: 0px;
        }
        .nav-pills>li.active>a, 
        .nav-pills>li.active>a:focus, 
        .nav-pills>li.active>a:hover{
            background-color: #fff;
            color: #8084e7;
            border-bottom: 2px solid #8084e7;
        }
    </style>
</block>

<block name="body">
    <div id="page-wrapper" style="padding-left: 20px;padding-right: 20px;">
        <div class="col-md-12 col-sm-12" style="padding-left: 0px;padding-right: 0px;">
                    <div class="panel panel-default">
                        <div class="panel-body">

                        </div>

                        <div class="panel-body" style="padding:0px;">

                            <div class="tab-content">
                                <div class="tab-pane fade active in" id="order-status1" data-action="{:U('ajaxPostReturnlist',array('status'=>1))}">
                                       <div class="table-responsive">
                                           <table class="table table-hover" id="dataTables-example" style="border: 1px solid #ddd;margin-bottom: 0px;">
                                               <thead>
                                               <tr class="active w_table_tr1">
                                                   <td style="width: 13%">物品编号</td>
                                                   <td style="width: 18%">物品信息</td>
                                                   <td style="width: 12%">物品个数</td>
                                                   <td style="width: 15%">结算单价</td>
                                               </tr>
                                               </thead>
                                               <tbody>
                                               <notempty name="good_list">
                                                   <volist name="good_list" id="vo">
                                                       <php>
                                                           $good=M('goods')->where(array('id'=>$vo['good_id']))->field('goods_name')->find();
                                                       </php>
                                                       <tr class="odd gradeX">
                                                           <td>{$vo.id}</td>
                                                           <td>{$good.goods_name}</td>
                                                           <td>
                                                               <switch name="bid_cate">
                                                                   <case value="1">{$vo.start_number}</case>
                                                                   <case value="2">{$bid_user.user_number}</case>
                                                               </switch>
                                                           </td>
                                                           <td>
                                                             <switch name="bid_cate">
                                                               <case value="1">无</case>
                                                               <case value="2">{$bid_user.per_price}</case>
                                                             </switch>
                                                           </td>
                                                       </tr>
                                                   </volist>
                                                   <else/>
                                                   <tr><td colspan="4" class="text-center">暂时还没有竞价信息!</td></tr>
                                               </notempty>
                                               </tbody>
                                           </table>
                                   </div>
                                </div>

                            </div>
                        </div>
                    </div>
                </div>
        <!-- /. PAGE INNER  -->
    </div>
</block>
<block name="script">
<script src="__STATIC__/layui/layui/layui.js"></script>
    <script type="text/javascript">
   </script>
</block>